package com.sikaryofficial.backend.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("store_follow_t")
public class StoreFollow implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 店铺回访ID
	 */
	@TableId(type = IdType.ASSIGN_ID, value = "store_follow_id")
	private Long storeFollowId;
	/**
	 * 店铺ID
	 */
	private Long storeId;
	/**
	 * 回访日期
	 */
	private Date followDate;
	/**
	 * 备注:评价内容
	 */
	private String remark;
	/**
	 * 乐观锁
	 */
	private Integer revision;
	/**
	 * 创建人
	 */
	@TableField(fill = FieldFill.INSERT)
	private Long createdBy;
	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createdTime;
	/**
	 * 更新人
	 */
	@TableField(fill = FieldFill.UPDATE)
	private Long updatedBy;
	/**
	 * 更新时间
	 */
	@TableField(fill = FieldFill.UPDATE)
	private Date updatedTime;
	/**
	 * 租户号
	 */
	private Integer tenantId;
	/**
	 * 删除版本：默认为0；删除则赋值当前记录主键ID
	 */
	private Long deletedVersion;
}